From: Alex Schroeder Date: Wed, 18 Jan 2006 22:14:32 +0000 (+0000) Subject: (rmail-set-attribute): Moved comment into document. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~8790^2~137 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=1b60963b1c1283ec4d32aeb95c65ba623714fcc9;p=emacs.git (rmail-set-attribute): Moved comment into document. --- diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index b5be81c83c3..31f55598ff8 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el @@ -1878,10 +1878,10 @@ otherwise, show it in full." (with-current-buffer rmail-view-buffer (setq mode-line-process mlp)))))) -;; Turn an attribute of a message on or off according to STATE. -;; ATTR is the name of the attribute, as a string. -;; MSGNUM is message number to change; nil means current message. (defun rmail-set-attribute (attr state &optional msgnum) + "Turn a attribute ATTR of a message on or off according to STATE. +ATTR is a string, MSGNUM is the optional message number. By +default, the current message is changed." (save-excursion (save-restriction (let ((attr-index (rmail-desc-get-attr-index attr)))